package com.zyl.pts.service.serviceImpl;

import com.zyl.pts.domain.bean.Batch;
import com.zyl.pts.domain.bean.Hurdles;
import com.zyl.pts.mapper.OtherMapper;
import com.zyl.pts.service.OtherService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @version v1.0
 * @ProjectName: product_source
 * @Package: com.zyl.pts.service.serviceImpl
 * @ClassName: OtherServiceImpl
 * @Description TODO()
 * @Author 翟玉龙
 * @Date 2024/11/18-17:20
 */
@Service
public class OtherServiceImpl implements OtherService {
    private final OtherMapper otherMapper;

    public OtherServiceImpl(OtherMapper otherMapper) {
        this.otherMapper = otherMapper;
    }

    /**
     * 查询所有批次信息下拉列表
     * @return {@link List }<{@link Batch }>
     */
    @Override
    public List<Batch> queryBatchList() {
        return otherMapper.queryBatchList();
    }

    /**
     * 查询所有栏圈信息下拉列表
     * @return {@link List }<{@link Hurdles }>
     */
    @Override
    public List<Hurdles> queryHurdlesList() {
        return otherMapper.queryHurdlesList();
    }
}
